package com.lx.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lx.entity.LxPar;
import com.lx.entity.vo.LxParVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 赵敬轩
 * @since 2021-09-12
 */
@Mapper
public interface LxParMapper extends BaseMapper<LxPar> {
    @Select("SELECT p.*,e.e_name FROM lx_equ e,lx_par p WHERE e.equ_id=p.e_id")
    List<LxParVo> selectLxProList(Page page);
}
